package com.spring.cloud.examples.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "SPRING-CLOUD-SEATA-SERVICE-PRODUCE2",path = "/seata-produce2/service2")
public interface Service2Api {

    @RequestMapping(value = "/insert",method= RequestMethod.POST)
    public String insertService2();
}
